/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.worlds;

/**
 *
 * @author Jacob
 */
public class NullGame extends Game{
    public NullGame() throws WorldsException
    {
        World w = new World(1);
        w.game = this;
        w.create();
        mainWorld = w;
        currentWorld = w;
        if(Main.getScriptContext() != null)
            Main.getScriptContext().setGame(w);
    }
    @Override
    public int getFreeID()
    {
        return 0;
    }
}
